package com.study.manage.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.data.annotation.LastModifiedDate;

import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_blog_rank")
public class BlogRank implements Serializable {

    private static final long serialVersionUID = 3563292411872765209L;

    @Id
    public Long id;

    public Date createdAt;
    @LastModifiedDate
    public Date modifiedAt;

    public Long evaluateApplyId;
    public String fullName;
    public String number;
    public Boolean isAward = false;
    public Boolean isAdopt = false;
    public Long userId;
    public Long blogId;
    public Long evaluateId;
    public Float complexPoint;
    public Integer voteCount;
    public LiveDieState state;
    public Date uploadAt;


    public BlogRank() {

    }

    public BlogRank(Long id) {
        this.id = id;
    }
}
